<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"                
                template="./emall.xhtml">

    <ui:define name="content">
        <f:view>
            <h:form>
                <h1><h:outputText value="Rechercher un produit sur Ebay"/></h1>
                <h:panelGrid columns="2">
                    <h:column>
                        <h:outputLabel value="Mot cles :" for="keyword" />
                        <h:inputText id="keyword" value="#{mbUsers.keyword}" title="keyword" />&nbsp;&nbsp;
                        <h:commandButton id="search" class="btn btn-large btn-primary" value="Rechercher" action="#{mbUsers.afficherResultat()}"/>
                    </h:column>
                </h:panelGrid>
            </h:form>
        </f:view>
    </ui:define>

</ui:composition>
